<%--
  Created by IntelliJ IDEA.
  User: Mr.杰
  Date: 2024/11/27
  Time: 19:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>欢迎页面-L-admin1.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/static/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/font.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/xadmin.css">
    <script src="${pageContext.request.contextPath}/static/js/jquery.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/xadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>
        p{
            margin-top: 10px;
        }
    </style>
</head>
<body>
<div class="x-body">
    <div class="layui-form-item">
        <label for="supplierName" class="layui-form-label">
            供应商名称
        </label>
        <div class="layui-input-inline">
            <p id="supplierName"></p>
        </div>
    </div>
    <div class="layui-form-item">
        <label for="creditCode" class="layui-form-label">
            社会统一信用代码
        </label>
        <div class="layui-input-inline">
            <p id="creditCode"></p>
        </div>
    </div>
    <div class="layui-form-item">
        <label for="contactName" class="layui-form-label">
            联系人名称
        </label>
        <div class="layui-input-inline">
            <p id="contactName"></p>
        </div>
    </div>
    <div class="layui-form-item">
        <label for="phone" class="layui-form-label">
            联系电话
        </label>
        <div class="layui-input-inline">
            <p id="phone"></p>
        </div>
    </div>
    <div class="layui-form-item">
        <label for="email" class="layui-form-label">
            电子邮箱
        </label>
        <div class="layui-input-inline">
            <p id="email"></p>
        </div>
    </div>
    <div class="layui-form-item">
        <label for="address" class="layui-form-label">
            地址
        </label>
        <div class="layui-input-inline">
            <p id="address"></p>
        </div>
    </div>
    <div class="layui-form-item">
        <label for="registeredCapital" class="layui-form-label">
            注册资本
        </label>
        <div class="layui-input-inline">
            <p id="registeredCapital"></p>
        </div>
    </div>
    <div class="layui-form-item">
        <label for="type" class="layui-form-label">
            企业类型
        </label>
        <div class="layui-input-inline">
            <p id="type"></p>
        </div>
    </div>
    <div class="layui-form-item">
        <label for="industry" class="layui-form-label">
            所属行业
        </label>
        <div class="layui-input-inline">
            <p id="industry"></p>
        </div>
    </div>
    <div class="layui-form-item">
        <label for="registeredNo" class="layui-form-label">
            工商注册号
        </label>
        <div class="layui-input-inline">
            <p id="registeredNo"></p>
        </div>
    </div>
    <div class="layui-form-item">
        <label for="registrationNumber" class="layui-form-label">
            纳税人识别号
        </label>
        <div class="layui-input-inline">
            <p id="registrationNumber"></p>
        </div>
    </div>
    <div class="layui-form-item">
        <label for="registrationDate" class="layui-form-label">
            注册时间
        </label>
        <div class="layui-input-inline">
            <p id="registrationDate"></p>
        </div>
    </div>
    <div class="layui-form-item layui-form-text">
        <label for="scope" class="layui-form-label">
            经营范围
        </label>
        <div class="layui-input-block">
            <p id="scope"></p>
        </div>
    </div>
    <div class="layui-form-item">
        <label for="registrationAuthority" class="layui-form-label">
            登记机关
        </label>
        <div class="layui-input-inline">
            <p id="registrationAuthority"></p>
        </div>
    </div>
</div>
<script>
    var storedPageData = sessionStorage.getItem('data');
    var data = JSON.parse(storedPageData); // 读取后将字符串再转为对象
    console.log(data);
    $("#supplierName").text(data.supplierName)
    $("#creditCode").text(data.creditCode)
    $("#contactName").text(data.contactName)
    $("#phone").text(data.phone)
    $("#email").text(data.email)
    $("#address").text(data.address)
    $("#registeredCapital").text(data.registeredCapital)
    $("#registrationDate").text(data.registrationDate)
    $("#scope").text(data.scope)
    $("#registrationAuthority").text(data.registrationAuthority)
    $("#type").text(data.type)
    $("#industry").text(data.industry)
    $("#registeredNo").text(data.registeredNo)
    $("#registrationNumber").text(data.registrationNumber)
</script>
</body>

</html>
